package com.st.springbootsse.event;

import org.springframework.context.ApplicationEvent;

/**
 * @author zhangli
 */
public class CustomEvent extends ApplicationEvent {

    private static final long serialVersionUID = 1L;

    private String msg;
    private String uid;

    private String messageId;

    public CustomEvent(Object source, String uid, String messageId, String msg) {
        super(source);
        this.msg = msg;
        this.uid = uid;
        this.messageId = messageId;
    }

    public String getMsg() {
        return msg;
    }

    public String getUid() {
        return uid;
    }

    public String getMessageId() {
        return messageId;
    }

}